<?php

namespace app\admin\validate;

use think\Validate;

class Config extends Validate
{
    protected $rule = [
        'commission|佣金比例' => 'require|float',
        'agent_commission|代理佣金比例' => 'require|float',
        'sales_commission|销售佣金比例' => 'require|float',
        'share_text|分享文本' => 'require',
    ];
}